#include "uuidutil.h"
#include <iostream>
#include <stdio.h>

int main(int argc, char* argv[])
{
    int iret=0;

    char uuid[17]={1,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,'\0'};
    std::cout << "uuid:";
    for(int i=0; i< sizeof(uuid)-1;i++)
    {
        std::cout<< (int)uuid[i];
    }
    std::cout << std::endl;
    char uuidstring[37]={0};
    int itransform = uuidutil::ByteToWinUuidString((const unsigned char*)uuid, 16, uuidstring, 37 );
    std::cout<< "result: "<< uuidstring << std::endl;

    return iret;
}